﻿using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Text;

namespace SheXiangTou.Services
{
    public class ConfigerService
    {
        public static string MQLocalHostName = ConfigurationManager.AppSettings["MQLocalHostName"];
        public static string MQLocalUserName = ConfigurationManager.AppSettings["MQLocalUserName"];
        public static string MQLocalPassword = ConfigurationManager.AppSettings["MQLocalPassword"];

        public static string MQCloudHostName = ConfigurationManager.AppSettings["MQCloudHostName"];
        public static string MQCloudUserName = ConfigurationManager.AppSettings["MQCloudUserName"];
        public static string MQCloudPassword = ConfigurationManager.AppSettings["MQCloudPassword"];

        public static string user_sxt_queue = ConfigurationManager.AppSettings["user_sxt_queue"];
        public static string SheXiangtou_Exchange = ConfigurationManager.AppSettings["SheXiangtou_Exchange"];
         public static string Open_Door = ConfigurationManager.AppSettings["Open_Door"];
        public static string Direct_Screen_Exchange = ConfigurationManager.AppSettings["Direct_Screen_Exchange"];//本地人员进出交换机
        public static string Alarm_Screen_Queue = ConfigurationManager.AppSettings["Alarm_Screen_Queue_Routing"];//上传显示屏事件队列
        public static string Local_Passuser_Queue = ConfigurationManager.AppSettings["Local_Passuser_Queue"];//进出插入成功发给大屏通知队列
        public static string Cloud_User_Exchange = ConfigurationManager.AppSettings["Cloud_User_Exchange"];//云端交换机 cloud:user:exchange
        public static string Info_User_Queue = ConfigurationManager.AppSettings["Info_User_Queue"];//上传云进出队列

        public static string Cloud_Info_Exchange = ConfigurationManager.AppSettings["Cloud_Info_Exchange"];//上传云进出队列

        public static string endpoint = ConfigurationManager.AppSettings["endpoint"];
        public static string ossurlpre = ConfigurationManager.AppSettings["ossurlpre"];
        public static string accessKeyId = ConfigurationManager.AppSettings["accessKeyId"];
        public static string accessKeySecret = ConfigurationManager.AppSettings["accessKeySecret"];
        public static string bucketName = ConfigurationManager.AppSettings["bucketName"];
        public static string objectName = ConfigurationManager.AppSettings["objectName"];

        public static string Cloud_databaseURL = ConfigurationManager.AppSettings["Cloud_databaseURL"];
        public static string Local_databaseURL = ConfigurationManager.AppSettings["Local_databaseURL"];

        public static string Local_Ip = ConfigurationManager.AppSettings["Local_Ip"];

        public static string Picture_Url_Prefix = ConfigurationManager.AppSettings["Picture_Url_Prefix"];

        public static string Device_Ip = ConfigurationManager.AppSettings["Device_Ip"];
        public static string Device_Port = ConfigurationManager.AppSettings["Device_Port"];
        public static string Device_Account = ConfigurationManager.AppSettings["Device_Account"];
        public static string Device_Pwd = ConfigurationManager.AppSettings["Device_Pwd"];

        public static string Device_FaceDatabase_FDID = ConfigurationManager.AppSettings["Device_FaceDatabase_FDID"];
        public static string Local_Database = ConfigurationManager.AppSettings["Local_Database"];
        public static string Cloud_Database = ConfigurationManager.AppSettings["Cloud_Database"];

        public static string RedLine_Ip1 = ConfigurationManager.AppSettings["RedLine_Ip1"];
        public static string RedLine_Ip2 = ConfigurationManager.AppSettings["RedLine_Ip2"]; 
        public static string RedLine_Port = ConfigurationManager.AppSettings["RedLine_Port"];
    }
}
